#include<stdio.h>
int main()
{
    int a,b,sum,minus;
    a=123;b=456;
    sum=a+b;minus=a-b;
    printf("%d\n%d\n",sum,minus);
    return 0;
}